package com.ktgj.pay.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 发票配送对象 invoice_delivery
 * 
 * @author ruoyi
 * @date 2022-01-24
 */
public class InvoiceDelivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long deliveryid;

    /** 配送方式(1:快递，2:Emai ，3:快递和Email) */
    @Excel(name = "配送方式(1:快递，2:Emai ，3:快递和Email)")
    private Long deliverytype;

    /** 快递配送状态(1待配送  2配送中 3已完成) */
    @Excel(name = "快递配送状态(1待配送  2配送中 3已完成)")
    private Long expressdeliverystate;

    /** email发送状态(1未发送 2发送中 3已发送) */
    @Excel(name = "email发送状态(1未发送 2发送中 3已发送)")
    private Long emailstate;

    /** 发票ID，逗号隔开 */
    @Excel(name = "发票ID，逗号隔开")
    private String invoiceid;

    /** 物流公司ID */
    @Excel(name = "物流公司ID")
    private Long expresscompanyid;

    /** 物流单号 */
    @Excel(name = "物流单号")
    private String trackingnumber;

    /** 收件人 */
    @Excel(name = "收件人")
    private String consignee;

    /** 收件地址 */
    @Excel(name = "收件地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phonenumber;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorid;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 国标行政区ID，用于对配送地址的分类 */
    @Excel(name = "国标行政区ID，用于对配送地址的分类")
    private Long districtid;

    /** 配送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "配送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliverytime;

    public void setDeliveryid(Long deliveryid) 
    {
        this.deliveryid = deliveryid;
    }

    public Long getDeliveryid() 
    {
        return deliveryid;
    }
    public void setDeliverytype(Long deliverytype) 
    {
        this.deliverytype = deliverytype;
    }

    public Long getDeliverytype() 
    {
        return deliverytype;
    }
    public void setExpressdeliverystate(Long expressdeliverystate) 
    {
        this.expressdeliverystate = expressdeliverystate;
    }

    public Long getExpressdeliverystate() 
    {
        return expressdeliverystate;
    }
    public void setEmailstate(Long emailstate) 
    {
        this.emailstate = emailstate;
    }

    public Long getEmailstate() 
    {
        return emailstate;
    }
    public void setInvoiceid(String invoiceid) 
    {
        this.invoiceid = invoiceid;
    }

    public String getInvoiceid() 
    {
        return invoiceid;
    }
    public void setExpresscompanyid(Long expresscompanyid) 
    {
        this.expresscompanyid = expresscompanyid;
    }

    public Long getExpresscompanyid() 
    {
        return expresscompanyid;
    }
    public void setTrackingnumber(String trackingnumber) 
    {
        this.trackingnumber = trackingnumber;
    }

    public String getTrackingnumber() 
    {
        return trackingnumber;
    }
    public void setConsignee(String consignee) 
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setOperatorid(String operatorid) 
    {
        this.operatorid = operatorid;
    }

    public String getOperatorid() 
    {
        return operatorid;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setDistrictid(Long districtid) 
    {
        this.districtid = districtid;
    }

    public Long getDistrictid() 
    {
        return districtid;
    }
    public void setDeliverytime(Date deliverytime) 
    {
        this.deliverytime = deliverytime;
    }

    public Date getDeliverytime() 
    {
        return deliverytime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deliveryid", getDeliveryid())
            .append("deliverytype", getDeliverytype())
            .append("expressdeliverystate", getExpressdeliverystate())
            .append("emailstate", getEmailstate())
            .append("invoiceid", getInvoiceid())
            .append("expresscompanyid", getExpresscompanyid())
            .append("trackingnumber", getTrackingnumber())
            .append("consignee", getConsignee())
            .append("address", getAddress())
            .append("phonenumber", getPhonenumber())
            .append("operatorid", getOperatorid())
            .append("email", getEmail())
            .append("districtid", getDistrictid())
            .append("deliverytime", getDeliverytime())
            .toString();
    }
}
